#include <iostream>
using namespace std;

int main()
{
	int tu = 0;
	int ji = 0;
	int tou = 0;
	int jiao = 0;
	tou = 35;
	jiao = 94;
	ji = (tou * 4 - 94) / 2;
	tu = tou - ji;
	cout << tu << " " << ji << endl;
	return 0;
 } 
